date_get_year(date);
返回: Real(实数)
This function returns the year of the given datetime.
myyear = date_get_year(date_current_datetime());
This would set "myyear" to the current year.